package com.huarui.sale.dao;

import java.util.List;
import java.util.Map;

import org.ewaf.framework.dao.IBaseDao;

import com.huarui.sale.model.Express;
/**
 * 急件
 * @author xu
 *
 */
public interface IExpressDao extends IBaseDao {
	/**
	 * 根据销售单id查询急件
	 * @param saleId
	 * @return
	 */
	public List<Express> getExpressBySaleId(Integer saleId);

	public List<Integer> getExpressIdsBySaleId(Integer saleId);
	
	public List<Map<String,Object>> getExpressForMapBySaleId(Integer saleId);

	public void deleteExpressBySaleId(Integer id);

	public void batchUpdateExpress(List<Express> expresses);

	public Integer batchDeleteExpress(Map<String, Object> map);

}
